.px2rem(@name, @px){
    @{name}: @px / 75 * 1rem;
}
body{
    .header{
        .px2rem(height, 90);
        width:100%;
        background: #000;
        color: #c6c6c7;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        left:0;
        top:0;
        z-index: 99;
        .left,.right{
            .px2rem(width, 150);
            .px2rem(line-height, 90);
            .px2rem(font-size, 28);
            text-align: center;
        }
        .center{
            .px2rem(width, 220);
            .px2rem(line-height, 90);
            .px2rem(font-size, 34);
            text-align: center;
        }
    }
    .logo{
        .px2rem(margin-top, 90);
        div{
            .px2rem(width, 360);
            margin: auto;
            img{
                width:100%;
                .px2rem(margin-top, 50);
                .px2rem(margin-bottom, 50);
            }
        }
    }
    .nav{
        ul{
            display: flex;
            justify-content: center;
            li{
                .px2rem(line-height, 60);
                .px2rem(font-size, 30);
                .px2rem(width, 140);
                text-align: center;
            }
            .on{
                border-bottom: 2px solid orangered;
            }
        }
        ul li:last-child{
            margin-left:23%;
        }
    }
    .main{
        input{
            width:90%;
            margin-left:5%;
            .px2rem(height, 90);
            .px2rem(margin-top, 30);
            .px2rem(font-size, 30);
            border:1px solid #e0e0e0;
            outline: none;
            .px2rem(text-indent, 30);
        }
        i{
            position: fixed;
            right:10%;
            color:#adadad;
            .px2rem(top, 510);
            .px2rem(font-size, 30);
        }
        .hide{
            display: none;
        }
        button{
            width:90.5%;
            margin-left:5%;
            outline: none;
            color: #ffffff;
            border-radius: 5px;
            .px2rem(height, 90);
            .px2rem(margin-top, 40);
            .px2rem(font-size, 30);
        }
        .footer{
            .px2rem(height, 120);
            .px2rem(font-size, 30);
            display: flex;
            justify-content: space-between;
            align-items: center;
            color:#333;
            .left{
                margin-left:5%;
            }
            .right{
                margin-right:5%;
            }
        }
    }
    .short{
        display: none;
        input{
            width:90%;
            margin-left:5%;
            .px2rem(height, 90);
            .px2rem(margin-top, 30);
            border:1px solid #e0e0e0;
            outline: none;
            .px2rem(text-indent, 30);
            .px2rem(font-size, 30);
        }
        .input{
            width:50%;
            margin-left:5%;
            .px2rem(height, 90);
            .px2rem(margin-top, 30);
            border:1px solid #e0e0e0;
            outline: none;
            .px2rem(text-indent, 30); 
        }
        .button{
            width:35%;
            float: right;
            margin-right:5%;
            margin-left:0;
            outline: none;
            color: #ffffff;
            border-radius: 5px;
            background: #ccc;
            text-align: center;
            .px2rem(line-height, 90);
            .px2rem(height, 90);
            .px2rem(margin-top, 30);
            .px2rem(font-size, 30);
        }
        button{
            width:90.5%;
            margin-left:5%;
            outline: none;
            color: #ffffff;
            border-radius: 5px;
            .px2rem(height, 90);
            .px2rem(margin-top, 40);
            .px2rem(font-size, 30);
        }
        .footer{
            .px2rem(height, 120);
            .px2rem(font-size, 30);
            display: flex;
            justify-content: space-between;
            align-items: center;
            color:#333;
            .left{
                margin-left:5%;
            }
        }
    }
    .password{
        display: none;
        input{
            width:90%;
            margin-left:5%;
            .px2rem(height, 90);
            .px2rem(margin-top, 30);
            border:1px solid #e0e0e0;
            outline: none;
            .px2rem(text-indent, 30);
            .px2rem(font-size, 30);
        }
        .input{
            width:50%;
            margin-left:5%;
            .px2rem(height, 90);
            .px2rem(margin-top, 30);
            border:1px solid #e0e0e0;
            outline: none;
            .px2rem(text-indent, 30); 
        }
        .button{
            width:35%;
            float: right;
            margin-right:5%;
            margin-left:0;
            outline: none;
            color: #ffffff;
            border-radius: 5px;
            background: #ccc;
            text-align: center;
            .px2rem(line-height, 90);
            .px2rem(height, 90);
            .px2rem(margin-top, 30);
            .px2rem(font-size, 30);
        }
        i{
            position: fixed;
            right:10%;
            color:#adadad;
            .px2rem(top, 570);
            .px2rem(font-size, 30);
        }
        .hide{
            display: none;
        }
        button{
            width:90.5%;
            margin-left:5%;
            outline: none;
            color: #ffffff;
            border-radius: 5px;
            .px2rem(height, 90);
            .px2rem(margin-top, 40);
            .px2rem(font-size, 30);
        }
    }
}